home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Bowers Development / Demo AppMaker / Examples / plain C OS8 / Everything / DModalStuffData.h < prev    next >
Encoding:
Text File  |  1998-10-29  |  1.1 KB  |  43 lines  |  [TEXT/CWIE]

  1. // DModalStuffData -- data class for Everything
  2.  
  3. #pragma once
  4.  
  5. #include "AMSignaler.h"
  6.  
  7. #define idTools2        'Too2'
  8. #define idFromValuesList3        'Fro3'
  9. #define idFromMenu2        'Fro4'
  10. #define idTextList2        'Tex4'
  11.  
  12. //----------
  13. struct DModalStuffData {
  14.     AMSignaler        super;
  15.  
  16.     SInt16        mTools2;
  17.     SInt16        mFromValuesList3;
  18.     SInt16        mFromMenu2;
  19.     SInt16        mTextList2;
  20. };
  21. typedef struct DModalStuffData DModalStuffData;
  22.  
  23. //----------
  24. DModalStuffData*        NewDModalStuffData ();
  25. void    DeleteDModalStuffData        (DModalStuffData*        data);
  26.  
  27. //----------
  28. void        DModalStuffData_Init    (DModalStuffData*        self);
  29. void        DModalStuffData_Free    (DModalStuffData*        self);
  30.  
  31. SInt16        GetTools2        (DModalStuffData*        self);
  32. void        SetTools2        (DModalStuffData*        self,
  33.                              SInt16        inValue);
  34. SInt16        GetFromValuesList3        (DModalStuffData*        self);
  35. void        SetFromValuesList3        (DModalStuffData*        self,
  36.                              SInt16        inValue);
  37. SInt16        GetFromMenu2        (DModalStuffData*        self);
  38. void        SetFromMenu2        (DModalStuffData*        self,
  39.                              SInt16        inValue);
  40. SInt16        GetTextList2        (DModalStuffData*        self);
  41. void        SetTextList2        (DModalStuffData*        self,
  42.                              SInt16        inValue);
  43.